package com.yunxi.market.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.market.pojo.*;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class MarketActivityDubboServiceMock implements MarketActivityDubboService {
    @Override
    public MarketActivityVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        return null;
    }

    @Override
    public void saveOrUpdate(MarketActivityVO marketActivityVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<MarketActivityVO> findPageByVO(MarketActivityVO marketActivityVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<MarketActivityVO> p = new PageInfo<MarketActivityVO>();
        List list = new ArrayList();
        MarketActivityVO v = new MarketActivityVO();
        v.setActivityName("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public void removeByListVo(List<MarketActivityVO> marketActivityVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public List listByVo(MarketActivityVO marketActivityVO) {
        List list = new ArrayList();
        MarketActivityVO v = new MarketActivityVO();
        v.setActivityName("暂无数据");
        list.add(v);
        return list;
    }

    @Override
    public PageInfo<MarketActivityQueryRespVO> queryMarketActivityForApprovePage(MarketActivityQueryReqVO vo, int pageNum, int pageSize) {
        PageInfo<MarketActivityQueryRespVO> p = new PageInfo<MarketActivityQueryRespVO>();
        List list = new ArrayList();
        MarketActivityQueryRespVO v = new MarketActivityQueryRespVO();
        v.setActivityName("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public PageInfo<MarketActivityQueryRespVO> queryMarketActivityForPage(MarketActivityQueryReqVO vo, int pageNum, int pageSize) {
        PageInfo<MarketActivityQueryRespVO> p = new PageInfo<MarketActivityQueryRespVO>();
        List list = new ArrayList();
        MarketActivityQueryRespVO v = new MarketActivityQueryRespVO();
        v.setActivityName("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public MarketActivityDetailsQueryRespVO queryMarketActivityDetails(MarketActivityDetailsQueryReqVO vo) {
        return null;
    }

    @Override
    public MarketActivityDetailsQueryRespVO queryMarketActivityDetailsByToPut(MarketActivityDetailsQueryReqVO vo) {
        return null;
    }

    @Override
    public boolean saveMarketActivity(MarketActivitySaveReqVO vo) {
        return false;
    }

    @Override
    public boolean updateMarketActivity(MarketActivityModifyReqVO vo) {
        return false;
    }

    @Override
    public boolean audit(MarketActivityAuditReqVO vo) {
        return false;
    }

    @Override
    public boolean toPut(MarketActivityToPutReqVO vo) {
        return false;
    }

    @Override
    public boolean delMarketActivityItem(MarketActivityItemDelReqVO vo) {
        return false;
    }
}
